<template>
  <div class="bag">
    <p>金币：{{ bag.gold }}</p>
  </div>
</template>

<script>
export default {
  name: 'Bag',

  data() {
    return {
      bag: {}
    }
  },
  
  beforeMount() {
    this.bag = this.$game.tempData.bag.content
  },
}
</script>

<style lang="scss">

</style>
